package config

import "runtime"

type GinConfig struct {
	Debug bool   `json:"debug"`
	Addr  string `json:"addr"`
}

func Gin() *GinConfig {
	sysType := runtime.GOOS
	return &GinConfig{
		Debug: sysType != "linux",
		Addr:  ":3333",
	}
}
